import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsString } from 'class-validator';

export class VideoInfoDto {
  @ApiProperty({ description: '七牛云视频文件名/key', example: 'video/example.mp4' })
  @IsNotEmpty()
  @IsString()
  key: string;
}